<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>投诉意见管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/tixian.js"></script>
<style type="text/css">
.rb{ border-right:1px solid #666666 }
.tb{ border-top:1px solid #666666 }
</style>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" style="margin-bottom:6px">
  <tr>
    <td height="30" align="center" bgcolor="#F9FCEF"> 
  投诉意见管理
    </td>
  </tr>
</table>
<form name="form2">
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#cfcfcf">
  <tr bgcolor="#FEFCEF" height="30" align="center"> 
    <td width="10%">QQ</td>
	<td width="60%">具体内容</td>
	<td width="10%">提交时间</td>
    <td>操作</td>
  </tr>
<?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?> 
<tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';"
  	 onMouseOut="javascript:this.bgColor='#FFFFFF';"> 

  <td><?php echo $fields['qq']; ?></td>
  <td><?php echo cn_substr($fields['yijian'],100); ?></td>
  <td><?php echo MyDate('Y-m-d H:i',$fields['addtime']); ?></td>
  
  <td align="center">
    <?php if($fields[sta]==0) echo "<a href='member_yijian_do.php?id=".$fields[id]."&dopost=do'><font color='red'>处理</font></a>";else echo "<font color='#aaaaaa'>已处理</font>";?> | 
    <a href="member_yijian_do.php?id=<?php echo $fields['id']; ?>&dopost=del">删除</a> 
  </td>
</tr>
<?php
}
}?> 

<tr bgcolor="#F9FCEF"> 
 <td height="36" colspan="11" align="center">
	<?php
$atts = array();
$atts['tagname'] = 'pagelist';
$atts['listsize'] = '6';
 echo $this->refObj->GetPageList($atts,$this->refObj,$fields); 
?>

 </td>
</tr>
</table>
</form>
</body>
</html>